package com.hotel.service.impl;


import com.hotel.mapper.OrderMapper;

import com.hotel.pojo.Orders;
import com.hotel.service.OrderService;
import com.hotel.vo.PageResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper orderMapper;


    @Override
    public PageResult OrderList(PageResult pageResult) {
        return null;
    }

    @Override
    public void deleteOrder(Integer ordersId) {
    orderMapper.deleteOrders(ordersId);
    }

    @Override
    public void addOrder(Orders order) {
        orderMapper.addOrders(order);

    }
}

